fixing cuda opcode build on OSX 10.6