openssl.gyp fixes for Windows, portions taken from node.js