Reorder PATH for SmartOS: Make GNU tools the preferred toolset by moving /opt/local/gnu/bin to the start of the search path.
Fixes install issues with rvm ('-E not understood by grep')