Fixes for the symlink handling.