Hook parameter evaluation into normal compilation process.

This evaluates the annotations in context of the root module. That allows
using other variables or functions to be used in the annotations.