allow valgrind to build on 10.9