Remove setting the -std=c++11 as it is not needed for variadic templates.

Plus setting the c++11 flag also causes problems with nvcc.