automake tweaks: use implicit rules, check_PROGRAMS, etc