update with results of commit https://github.com/mapserver/mapserver/commit/e841969e8b306d73dc9e657c7c1982a748802e9f