if you are not on Debian/Ubuntu, you will be better of getting wise_2.4.1-17.debian.tar.xz from the above Debian wise package page, unpacking it and applying to wise-2.4.1 from wise_2.4.1.orig.tar.gz by running:
for file in debian/patches/*.patch; do patch -p0 < $file; done
No idea why, but 10_fix_path_to_data_files.patch has different directory naming. Quick and dirty way of fixing it is to softlink wise-2.4.1 to b:
ln -s wise-2.4.1 b
Then everything compiled with gcc_4.8.1 without problems.