Fixed incorrect recursive linking.