Check for g++ instead of gcc