this fixes the beta issue #163 (-d and --opencl-platforms not within valid range)