Added missing #ifdef to fix non-Maemo compilation