[dunecontrol][CMake] Fixes issues with leading whitespace in parameters.