Generate both dylib and rlib for rustup

r? @metajack