Add a default constructor to get deterministic behavior.

Should fix the msan and valgrind bots.