Update gyp to latest master commit.
Add option for core-local caches using locks.