ar7-atm: make it compile under 3.18