Fixed build issues when BERGCLOUD_LOG is not defined.