Revert "Revert "Enable LTO.""

This reverts commit d61aeadaa8403bcf62900870f5668b17a8040c52.