Disallow LTO with a preference to dynamic linking

Closes #11154