Fix the ifdef around RoleAnnotations

Fixes #2