--- testbed/Makefile.in.old	2015-10-16 14:05:13.000000000 -0400
+++ testbed/Makefile.in	2015-10-16 14:31:17.000000000 -0400
@@ -539,7 +539,7 @@
 	if [ $(top_srcdir) != $(top_builddir) ]; then \
 		cp $(top_srcdir)/testbed/*.ic? $(top_builddir)/testbed; \
 	fi
-	./testcms
+	LD_LIBRARY_PATH=$(top_builddir)/src/.libs ./.libs/testcms
 	if [ $(top_srcdir) != $(top_builddir) ]; then \
 		rm -f $(top_builddir)/testbed/*.ic?; \
 	fi
