fixed build for systems without sfml