Fix a bug in Node.js
Add global to extern for GCC