configure: modify the taglib check so it doesn't add anything to extralibs