Link dynamic ast matchers with the ast matchers library. Unbreaks shared cmake build.