Update Makefile: add -lm in LIBS