Generate rlibs by default (instead of dylibs)

Closes #11253
auto merge of #11706 : alexcrichton/rust/issue-11253, r=huonw

Closes #11253