Disable invalid assert that causes crashes under valgrind.