Fixed annoying warnings when compiling using SFML as platform