build: enable LTO flags

Change-Id: If2417446db9119b6befc791adb49f4148ac6b302
Further LTO fixes

Change-Id: I233159e441430b926b655d8bb2e8c084343bd153