Adapt to use nan_glfw3 from node-glfw3