Fix the ifdef around RoleAnnotations

Fixes #2
Merge pull request #3 from glguy/patch-1

Fix the ifdef around RoleAnnotations