At least 18 people, including foreigners have died and four others are missing after torrential downpours hit North Africa's normally arid mountains and deserts over the weekend.