Don't set CCACHE_BASEDIR if already defined

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>