Don't propagate C++11 feature flags in Linux.
Fix linking issues.
Remove redundant dependencies.
Remove redundant dependency.
Fix compilation error in Linux.
Simplify `CMakeLists.txt` for `gmock` project.
Separate CUDA code and C++11 code.

NVCC does not support C++11 very well.