fix compile error by including sf::Time