Revert "Fix build with LTO"

This reverts commit 3de09fda493d122f07a6fd733923bafa38f5f4ff.