remove troublesome shared libraries from binary