fix kde/unity detection