gyp patch that actually works

Can't pass an empty string to os.path.join()