fix makefile for libm