fix os x build with CUDA 6.0
fix os x build with CUDA 6.0

soumith/cuda-convnet2.torch,ajtao/my_ccn2_t,monikajhuria/cuda-convnet2.torch-master_update,monikajhuria/cuda-convnet2.torch-master_update,szagoruyko/cuda-convnet2.torch,szagoruyko/cuda-convnet2.torch,szagoruyko/cuda-convnet2.torch,soumith/cuda-convnet2.torch,soumith/cuda-convnet2.torch,szagoruyko/cuda-convnet2.torch,ajtao/my_ccn2_t,ajtao/my_ccn2_t,monikajhuria/cuda-convnet2.torch-master_update