bug #1412: fix compilation with nvcc+MSVC
3 files changed