Update to SFML 2.0 api