Fixed build on OSX

Had some problems with qmake not including libsodium which was installed and worked without qmake.