fix link problem with math.h using Gcc.