Fix compilation crash on windows as nvcc/VS don't support C99
Another crash fix on windows due to no support for C99.
better profiling output
Merge pull request #1719 from nouiz/gpu_windows

Fix Gpu crash on windows