Cross-Platform c++ library