[cuda_opengl] stefan tweaks to compile linux