The wrapper in here is built with an osx patch, backported from the 3.1.2 per http://sourceforge.net/tracker/index.php?func=detail& aid=1262323& group_id=39428& atid=425187