Fixes incorrect autoconfigured adtnd script via cmake
Merge branch 'cmake-fix' into next