Added check for math lib, so we can substitute -lm with $(MATH_LIBS) in Makefile.ag
Added check for math lib, so we can substitute -lm with $(MATH_LIBS) in Makefile.ag

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb