Added -std=c++11 to CUDA flags