almost works on Wine!

(segfaults on plugin loading...)