Initialise variables not set on OSX in ocl.c.