Make EnumHelpers compilable with both Qt 5.3 and 5.4.