Building ardupilot from github on Macbook M1 in Parallels Ubuntu

I just got my new M1Pro Macbook and the first thing I did was installed Ubuntu in Parallels so I can build ardupilot. I’ve done this once before on my old Intel Mac and if I followed the instructions it worked (if slowly).

But when I follow the instructions and try to
./waf configure --board Pixracer
I get an errors:
Checking for ‘g++’ (C++ compiler) : not found
Checking for ‘clang++’ (C++ compiler) : Execution failure:

I’m thinking I need to do something to get waf to work on the M1. Can anyone help?