Fixed M_PI issue for Win builds