Do explicit typecasts in some initializer lists to make clang happy