Build fixes to serialization plugins

Changes enable these to be added as submodules to other solutions.