Revert "Revert "Enable LTO.""

This reverts commit 66adee2682f3eab0c45b666ed4c20e78d1f783c2.