Fixed compile with MSVC 2010

MSVC 2010 math header does not come with M_PI.