Fixed building on Windows, hopefully without breaking anything else.
nit-picks fixed as requested by @scoder
Merge pull request #9 from oddstr13/master

Fixes issue #8