simpler robustification for MinGW / C++11