Allow building with PGI.