test: avoid running tool tests if not built
In Gentoo, we avoid building the tools for multilib (32-bit, x86) builds on amd64/x86_64 because we only need the library to keep binary applications working.
This MR changes the build system to only run the tools tests if they were configured/enabled.
Fixes: #421 (closed)
Edited by Sam James