Adjust version constant
Yield config only if passed a block