mapserver compilation fix