Workaround gcc 4.8's new -Wunused-local-typedefs interaction with nvcc