added forward declaration for EnumFlags templated class
added explicitly defined enum operators
fixed clang and gcc errors