Updating compilation script to compile a library.