Make valgrind fail return -1 when running ctest memleak check