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/pandora/other linux-based building of Qt frontend.