improve valgrind targets in makefile

on OSX 10.5: running valgrind on any program that tries to
initialize sqlite3 causes a segfault. seems like a stack
overflow in one of the sqlite internal malloc calls.