Allow explicit override of default CCACHE_BASEDIR behavior

some of us want manual control of this sort of thing.

Change-Id: Ib6f0d1c0216c5888fe7565e9fcda424127ee03fe