Move generation of config-target.h to Makefile from configure