fix for persistant module dir using symlinks