corrected enums to be C++03 standard compliant