[ET Trac] #2822: work around full paths used by pkg-config in `-l` options