Modify travis configuration to install valgrind

This should fix previous build failures