Compilation fix, added a definition of M_PI