Fixes #3736: allows to choose technique version for directive creation