make math.h compatibe with c89