Autotools: fix Makefile.am for program names with '-' character.