minor fixes for windows platform

Two issues are outlined:
https://github.com/sstephenson/execjs/issues/78
https://github.com/sstephenson/execjs/issues/81#issuecomment-9892952