fix SOIL -> ${SOIL_LIBRARY}

add M_PI definition

use QOpenGLFunctions for glActiveFunctions
Merge pull request #70 from trairia/qt5_mingw_fix

Qt5 fix on Win32 MinGW environment