Merge pull request #38 from coldnebo/master

fix for p4 under Windows (pretty sure this works on other platforms