Build some submodules with Rustpkg

Rebased from @kmcallister's branch to fix mac platform issues.