More OSX fixes: Updated errorchecking Makefile and added static to clGetErrorString definition