Change check_program to accept arbitrary args
Multiple possible configurations for LLVM shared libs