Make sure CCACHE_DIR is read from the environment

Change-Id: I31edbd1c637b31a978439c28c8e3442875a5ef4c