add support for nim 0.10.0