Move the libwand version check to build time

This should prevent the segfault reported in #184
Merge pull request #186 from timholy/teh/version_buildtime

Move the libwand version check to build time