Add libgdal1-dev before libmapnik-dev.