move OpenIndiana gcc detection to requireemnts - select depending on installed package
reorder the compiler choosing order in OpenIndiana
Merge pull request #2795 from wayneeseguin/bugfix/OpenIndiana_gcc_selection_GH_2795

OpenIndiana: CC is hardcoded to obsolete value, missing a required package