Rename enum names to avoid conflicts on Windows.