Fixed bug in detect_ocl_gpus