Use proper ${HOME}/.ccache for CCACHE_DIR and fix usage of it