Fix converting /dev/null
CMake: Add extra flag.
Add possibility to build with MSYS GCC
Fix null in tests.
Add build script.
Rename .c files to .cpp
Merge pull request #2 from Alexpux/master

Fixes for MSYS