Fixes for CUDA 4.1

Some fixes to get it working under CUDA 4.1.
add gemspec
add depndency
Merge pull request #1 from kashif/gemspec

Gemspec
Merge pull request #1 from kashif/master

Further fixes for CUDA 4.2