MINGW: determine if pwdmodule should be used