build script compiles static library