Make gyp check for g++