Add missing include of kstandarddirs.
(cherry picked from commit ce2a344fa2ccfe5fe2a2ceefb098a8a141090b12)