added -lm to Makefile generation, though this is not needed as of optimization! %)