add M_PI for windows