Working C uuid_generate implementation for node.js