llvm: fix build on 10.7 and 10.8