Compile lib in bootstrap.sh