modified Makefile so that math library can be loaded precisely