MinGW: CMake, M_PI

+ add GLEW to CMake
+ fix dake build process
+ M_PI definition