removed -lm, not needed anymore