Fix dependency for check-valgrind and check-valgrind-$(tool).
Force ax_valgrind generated rules to depend on all-am in the source directory to make sure that check-valgrind by itself will build the library before checking.
Force ax_valgrind generated rules to depend on all-am in the source directory to make sure that check-valgrind by itself will build the library before checking.