Fixed a mistyped check for desktop.