Add ifdefs for desktop version.
Prepare for desktop version.