mingw32 do not have P_tmpdir macro