Fix constants sharing between require and node