Fix for empty OS X  variable