A static C++ lib with some useful helper functions