add COMPILE_LTO to test link time optimization the library performs best with lto since many small functions can be inlined across objects.