move to imake 1.0.6 (and improve support for any homebrew location)

Upgrade to 1.0.6 and improve adaptation of files to support homebrew installation not in /usr/local