build: add --enable-lto for link time optimizations.