fix the build for namespaced enums