Updated ifdef to exclude mobile platforms.