Use basedir to get impl cache location (was already used for the iface cache).