adding an environment controller for CUDA compiles