Change init, read, write and enqueue_kernel_range for OSX hosts