fixed missing call to clGetPlatformIDs