Fix Gpu crash on windows

Fix compilation crash of GPU code on windows as they don'T support C99 (Frederic B., reported by Hussam Ashab)