Add -lm to LDFLAGS in the Makefile