fix for VisualGDB, which defines __GNUC__ and _MSC_VER