For some reason /usr/local/bin was at the end of the PATH