Fix a configure assumption. Configure tries to figure out the linker objects. The check it uses for this doesn't work with clang. So tweak the check to make it work. Approved by: maintainer timeout (21 days)