OK, not sure how to get around this...

Build both static and shared because some libraries need one
and some the other.