allow building a static version of libmapserver