Update logging library, and add option to disable building dependencies