Fix regression in buildProgram exception handling
Remove -cl-std=CL1.2 build option, doesn't work on the Mac