Search libscm first during linking.