Add support to workaround Valgrind limitations. Add macro to disable fortify in our tests.