Fix hardcoding of build configuration to ensure that it works with a debug build of node