Fix build failure with more recent OCC versions that dropped PI