replace your ~/crowbar/build_lib.sh with this file