Fix Makefiles so they use OpenCL macros passed to them