Fixed error_info classes couldn't be properly exported from shared library problem.