daemon build optimizations with cotire
Cotire optimization for all executables in src/CMakeLists.txt
Added option to enable cotire