Fix llvm31 python/shared.