Make it build again on Maemo5

Signed-off-by: Ivaylo Dimitrov <freemangordon@abv.bg>