Correcting calls to library() and updating dependencies.

require curl, pdf and geo-ip modules.