fix weird gyp path excaping problem on windows; deleted an unused function