allow command like "ccache gcc"
use c++ compiler to link when c++ abi is enabled
use shallow clone in git gem
remove explicit use of g++
Merge pull request #1777 from take-cheeze/command_improvement

Command improvements.