diff --git a/lib/configure.js b/lib/configure.js
index <HASH>..<HASH> 100644
--- a/lib/configure.js
+++ b/lib/configure.js
@@ -378,7 +378,7 @@ function configure (gyp, argv, callback) {
     })
 
     // this logic ported from the old `gyp_addon` python file
-    var gyp_script = path.resolve(nodeDir, 'tools', 'gyp', 'gyp')
+    var gyp_script = path.resolve(__dirname, '..', 'gyp', 'gyp')
     var addon_gypi = path.resolve(__dirname, '..', 'addon.gypi')
     var common_gypi = path.resolve(nodeDir, 'common.gypi')
     var output_dir = 'build'
configure: run the bundled gyp rather than the one from the tarball