C++ cross-platform library