Fix broken echo -n syntax on Macs

Avoid using shell builtin echo command on Darwin as built-in echo doesn't support -n option.  Use standalone echo executable instead that does support -n option, normally located in /bin/echo, if it exists.