Fixed linux compile errors
qMerge branch 'dev_refcount' of https://github.com/lodle/desura-app into dev_refcount