fixed incompatibility with version 2 of ZRE
This will probably obsolete version 1
initial fix for windows
Merge pull request #7 from sphaero/master

ZRE v2 fixes + initial windows fix