fixed build without consolekit support