Added fixes to get this working on Windows 8
Oops, forgot to add _NT to the platform detection
Merge pull request #6 from mikewesthad/win-fix

Win fix