only build tests if "make check"
allow install into PREFIX