mingw compat - initial