Added differentiation between return code pre 2.5.0 protoc and newer versions. Closing #14