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