Use `-Og` flag if compiling in debug mode with GCC
Fix compilation with git SFML version
Adapted to newest libs
Minor fixes/changes/refactoring