Fixes to enable code to run on Mac OS X 10.7.5

Here are some simple changes to enable OpenCL.jl to run on Mac OS X 10.7.5.  Some more changes will be needed to get all of the test to run but this is a start.