glob2: fix build failure
The same issue was reported here to Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746854
Apparently this failure only cropped up with g++-4.9, but looking at
the code I have no idea how it ever worked without this patch.