Fixes linking errors on Windows

Detailed information on cause and fix here:
https://groups.google.com/forum/#!topic/nodejs/onA0S01INtw
Merge pull request #60 from anprogrammer/master

Fixes linking errors on Windows