Workaround mingw probs