Test to fix build on systems w/ --no-needed for ld

(systems like ubuntu)
Add boost serialization dependency