Integrated build script (static/shared/build-dir/prefix/osx).