Buildfailures due to undefined references

Originally reported under issue #288

Please see the following attached patches. Default cmake policy in openSUSE Factory is to no longer allow undefined references, and these were all causing buildfailures. All apply to both 0.7.0 and the upcoming 0.8.0. If you don't wish to accept them, just let me know, so I can make the appropriate notations in my .spec file and mark them as neccessary for openSUSE only.