install valgrind and cmake