Ignore reserved words on Windows

Fixes #2385 and #2386