Fix setting paths on old bash.