Now the library can be compiled without cuda.
Tested on Macbook pro.
Tested on Accelerando.