1 - fixes gmake-isms by adding those ?= conditionals only on linux, which uses gmake by default 2 - emit valgrind* targets only on linux.