Fix a typo for linking no-build targets

I acidentally tried to link objects as libraries when doing the
previous conversion.