Fix pv build