mingw fix (due to rt lib)