[test/Makefile.am] Link libhapprocess.la only to really needed libraries.