fixed build on Maemo 4