Fix converting /dev/null
CMake: Add extra flag.
Add possibility to build with MSYS GCC