Fixed class match on windows.