Added SIZE_MAX definition in case it was not present