Custom build for simply checking protected PDFs

Only include necessary resources for checking password protection of PDFs.