fixup instantiate_for_ad.hh
fixup explicit instantiation again