allow static building of cpp bindings