Silence some annoying warnings
Decontaminate bson namespace from std
Also stop needless use of <iostream>
Build both static & shared libs