Try alternate realpath for mac