Improvements for Qt 5 OSX homebrew detection from Jonathan Beezley