and now valgrind passes on x86_64 mac