Fix pdf library download