Fix previous changes to BUILD_SH_TP

The src variable can take more than one file.  Deal with it to fix the
generation of "corrupted" test programs.  Not caught earlier because
touching the Makefile does not regenerate these files...