Fix Windows compile errors (grumble grumble pre-compiled headers)