Improve build tests to check that executables are created.