Move project definition to the top of CMakeLists.txt
Fixes #42
Adapt FindSFML.cmake for Mageia