Fix to build with nvcc in path (crux)
tmp
fix missing defines