add support for version before go1.1