define O2_EXPORTS when building a shared library
define O2_EXPORTS when building a shared library

so it properly exports the required symbols, even if we build with a
default-visibility of "hidden".

rbdannenberg/o2,rbdannenberg/o2,rbdannenberg/o2,rbdannenberg/o2,rbdannenberg/o2,rbdannenberg/o2