change directive step to be in link phase instead of compile