Fix Perforce support on Windows