added support for comiling on mac, cmake 2.8.11, cuda 5.0
Merge pull request #1 from nbergst/master

mac os x support