Build fix for Symbian, Blackberry10, Harmattan, Pandora

Fix cityhash for non-glibc systems where byteswap isn't defined. Define it manually instead. Also, fix harmattan building of Qt frontend.