Update the serialization core so that it compiles with dmd HEAD.