Do rehash() after installing cpanm.

I think that `install-cpanm` command should execute rehash() automatically. So I rewrote.

(I apologize if this change guess wrong.)