build: fatal error if <link> with same filename as one <link> before found