Replace echo -ne with printf.

OS X's `echo` does not support the `-n` flag.