loose CMake minimum version requirement
clean Makefile.mingw a bit