Use build.rs in place of test_linking_hack