allow CUDA and NATIVE_EXT be disabled by setting env variable to "false"