hacky windows support. fixes #10