Fix duplicated $PATH in OS X Yosemite