Added CMake options to conditionally compile LOG and VLOG messages.