configure: Use $LIB<x> for linking a program, not $LTLIB<x>.