Convert a string to lowercase like SFML does it
Make the code compile again with VC++10