Fixed windows _toupper nonsense.