Add workaround for build cmake when Qt5 present in PATH. Now cake do not support Qt5.