It seems like M_PI doesn't work for every compiler