[WIN32] Prepare for compilation under win32
Fixes for windows

Also fixes some warning

Important note: on windows, we only generate a static library for now.
With a custom build of SFML it should be working with dynamic linking but
with the SFML-2.1 distributed by sfml-dev.org that's not the case.
Add a test for SFMLScreen