Fix llvm-gcc-4.2 compile issue and add a macOS bot to test it (#899)

4 files changed