attempt to make node-mapserver safer with mapserver pre 6.4