enable LTO and other optimizations