Build C deps for cargo properly.