valgrind and dynamic modules