Update build_lib.sh