Workaround for CUDA 6.0 on RHEL.