Use latest installed kegs for link and unlink cmd

Currently, when installed kegs are multiple and not latest (different with
latest formula), link and unlink command returns "multiple version installed" 
error.

This fixes to use the latest installed keg for linking and unlinking.