try to improve build robustness w.r.t. KViewer_desktop