To me, discrimination based on where one was born is fundamentally immoral. There are legitimate logistical difficulties with open borders, but we need to identify solutions, rather than use them as excuses.
First world countries want the best of the best, not unskilled immigrants who they'll have to support. Developing countries aren't going to want to allow non-tourist immigration unless you have investment to offer. So we end up with this byzantine system of quotas and quid pro quo which treats people like pawns. Unpleasant and unsustainable for all involved.