MSVC generateUUID fix
MSVC 12 fixes