Maybe we can check the output of `$GCC -v` instead of looking in Ruby's configuration data? This will be reliable across all ruby versions and will ease eventual efforts for cross-compilation.