Added logic to determine OSX version, needed for my flushdns alias