Apparently the EnumType::EnumVal syntax is a MSFT C++ extension and doesn't compile in linux... that's a shame.