got it to compile on my system (ubuntu 12.04.2 LTS + nvcc 4.0)