fixing to compile without errors on linux
adding valgrind task