Library for cross-platform C error functions