Attempting to fix gcc version getter in cmake.