fixes linking configuration in test target