Be more selective when detecting the -march=native flags to use.