CMakeLists.txt: fix builds without swig

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>