Element was getting wrong class name on windows

Windows uses backslash as the path separator