Cleaned up PDF build process.