autotools: Use install-{data,exec}-hook targets to support automake build targets.