Generate rlibs by default (instead of dylibs)

Closes #11253