remove dependency on valgrind.h header which isn't always avaliable.
fixes #61