It seems this is a known problem and someone made patch:
http://sourceforge.net/tracker/?func=detail&aid=1754400&group_id=98800&atid=622095