Fix building for annotate