Fixed build issues with namespaced enums