Fix OS detection for Jython/win

Signed-off-by: Michael Buesch <m@bues.ch>