I think I had it pointing to PBPW at the time.
Proteus saves the compiler path in the .dsn file.

Go to ... Source > Add/Remove Source code files..
Change the "Code Generation Tool" drop-down box so it points to your installation. (PBPMPLAB)