Build Fixes

S.a. https://github.com/Qabel/qabel-client/pull/4 from Daniel Marks