Fixed linux compile errors
qMerge branch 'dev_refcount' of https://github.com/lodle/desura-app into dev_refcount
Merge pull request #898 from lodle/dev_refcount

Dev refcount