Fix cache when installed by composer

Fix cache when installed by composer - follow symlink if env doesn't doit automatically