Fix a bug where using buffer_t structures with strides such that there is
extra space in the buffer would cause memory access errors with GPU targets.

Add library path to standard CUDA Framework location on the Mac.