Check Q_OS_UNIX definition instead of nonexistent Q_OS_X11

This fixes the cache and config paths that broke in the last upload.
Release 1.0.8-2 to unstable