This has apparently been wrong for some time! Fix the common/pmi libraries so we build them dynamic so they can be properly linked into the components that use them. Define required library version numbers  and so some other cuteness to make it all work.

cmr:v1.7.3:reviewer=jsquyres