PMC: tweaks for windows warnings