update compiler settings to LLVM 5.0