Windows support

This fixes #24 and #25, allowing threads_a_gogo compilation on Windows with node 0.9.3+.