Move the libwand version check to build time

This should prevent the segfault reported in #184 

@staticfloat & @Keno, I didn't find a way to get BinDeps to do this, but I could have easily missed a better way.