Macro `capture` doesn't exist in Nim 1.0.x
Our Cis which test Nim 1.0.x versions cannot test this package anymore, because of [capture in `sample14` test](https://github.com/yglukhov/nimx/blob/master/test/sample14_layout.nim#L264).

Possible solutions:
1. Can you rewrite that test so it doesn't use `capture`?
2. Otherwise, should we disable testing `nimx` on Nim 1.0.x branch? (But this also means that `nimx` users wouldn't be able to run `sample14`)