Like its customers, Wal-Mart is struggling