Fix `CL_INVALID_PLATFORM` error during initialization.

Which happen with NVIDIA drivers.

Ref: http://stackoverflow.com/questions/19140989/how-to-remove-cl-invalid-platform-error-in-opencl-code