It's not really related to SFML, e.g. just include ostream yourself and you'll most likely get the same error.
As such you will probably find better answers on something like StackOverflow or similar.
Personally, I find it easier to just boot into a Windows VM and build something natively or if it's open source use Travis/Appveyor to automate builds.