Add support for older LLVMs in Program