Fixed documentation building latexpdf.