fix windows dll build problems
Merge pull request #2 from gilmoskowitz/windowsDll

fix windows dll build problems