Auto merge of #1602 - Aaron1011:fix/rustc-tarball, r=gnzlbg
Auto merge of #1602 - Aaron1011:fix/rustc-tarball, r=gnzlbg

Fix build.rs failing with a rustc built from a tarball

Fixes #1601

rust-lang/libc,rust-lang/libc,rust-lang/libc