Fix build with mingw, make travis.yml more readable