Fix libmaxmindb build