Create custom nvcc compiler extension.