haltests: modify Makefile.am in order to support out of source build