CMake fixes for MinGW, choosing BOOST variation, enable CPack
Partial compatibilty with Microsoft Compiler