Apparently Apple builds were not using -fPIC, perhaps this will fix the problem?