Added -lm to build script