add note about compiler flags and Valgrind