bug in CUDAContext.c fixed. mac 64 bit build