CLOUD-216 gcc fix