allow static building of cpp bindings
Merge pull request #12 from Habbie/cpp-static

allow static building of cpp bindings