I believe you also need `libxml2-dev` and `libxslt-dev` (or whatever the package names on Debian/Ubuntu are).