mako: Fix symlinks that should be treated differently.