-pedantic fixes
llvm 3.2 is missing some intrinsics