Windows debug / release fixes.