(merge from head) Add MinGW tag from BBv1 (mgw) when the gcc flavor indicates it's the MinGW compiler.