build with mingw
add prebuild libs for mingw build
cross-compile with mingw
add travis files
MINGW is set after the project() call
std::min/max are defined in <algorithm>