Remove old pdf build code