Build the lib on posix platforms (using configure and make).
Note, this function will not sync dependencies. use sync_libs or sync_and_build_lib.
This function will also add the needed folder to the link-search path.
Return the “include” folder for the library (to be used by bindgen).