rework build to not distribute tests unless --enable-devel is specificied to autoconf