Call rustc directly without Cargo

This avoids having to work around Cargo’s inability to produce static
libraries, etc.