Move bootstrapping from src/lib/build.rs to src/lib/bootstrap.rs.