Disable link time optimization when compiling with clang.

clang requireds ld.gold and currently I don't know how to setup this
linker in cmake.