Create build_lib.sh