- back-ported the setup script from latest_sfml branch