Fixed build on desktop environment