fixed asset path resolving if symlinks are involved