osx build: remove ltdl and shuffle other stuff