fix Issue #1 - Problem with sed command on OSX

Using awk's tolower method to filter installed versions by type