Fix a crash of ocl program if clAmdBlas is not linked.