cnl: make use of `api.wes` optional

Signed-off-by: Oleg Verych <olecom@gmail.com>