Now it compiles in Windows (but probably does not work)