Remove non-robust makefile modification in favor of a clever hook.