Wal-Mart to open near N.C. military base