fix compinit (mac)