tests: remove testsuite from EXTRA_DIST
freebsd: set LDFLAGS, CPPFLAGS, and MAKE_ENV
freebsd: fix installed jar filename