Fixes issue #13213, that is linker errors when the inlined static has been optimized out of the exporting crate.