only enable LTO if use-lto is true

When using clang, as with GCC, we shouldn't use LTO if the developer
has specified use-lto=false.
Merge pull request #140 from dicej/master

only enable LTO if use-lto is true