Upgrade gyp script for dictionaries and node unit test