Send sf::Event::Closed when the activity is being destroyed
If the main thread finishes, the activity is destroyed
CMake now builds the main module