fixed math library comiplation on linux systems