Updated M_PI references and const var in .h file for Windows builds