libm: fix up makefile a bit