fix unqualified enum ctor typing (closes #1468)