Small fixes making LLVM happy, only added for compilation check.