Set -lm flag on build script calls