Compatibility with pacman 4.0, bug fixes.