C++ static library support (issue #28)