Make valgrind depend on the flint library.