add -lm to Makefile

Signed-off-by: Peter Lieven <pl@kamp.de>