Fix Debian bug #594931 (patch from Frank Küster).