COMP: fix compile error on Windows

Error: "error C2065: 'M_PI' : undeclared identifier"
Also see http://winwiki.org/error-c2065-m_pi-undeclared-identifier/

M_PI is now defined explicitly.
Merge pull request #24 from fedorov/fix-M_PI

COMP: fix compile error on Windows