Move EnumSet into libextra