fixing ls between debian, ubuntu, and os x