Fixes for issues raised by LLVM strict warnings.