Fixed mac tests linking.