http://bugs.winehq.org/show_bug.cgi?id=23847
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-11-27 08:44:02 CST --- Created an attachment (id=32168) --> (http://bugs.winehq.org/attachment.cgi?id=32168) patch
so something like the attached patch should fix it i guess?
not sure how to deal with the Apple-stuff though