fixes for Node 0.11 on Windows