Try fixing clang 10 build warnings.
see: https://lhcb-nightlies.web.cern.ch/nightly/lhcb-lcg-test/build/81/