abook: fix build with gcc5
(cherry picked from commit d4ae8b68cbc59915451b5b00f39ecac844494c68)
Joachim Fasting 10 years ago ae349e1d 8df9058d