fix #4662: compile error of KAIK with space/special char in path