Defend against no pdf build