remove unneeded -lm option to gcc