Remove and readd shims path if already exists.

When using a terminal multiplexer(such as screen), the environment variable is set each time a new window opened, and the priority shims path int the $PATH goes down.