Fix macosx 10.8 build.
Enable cuda in pcl on macosx 10.8.