move build tools from autotools to gyp