separated build.sh script for each dependent library.