Change azpmem to use g++

Did I change it to use gcc, maybe I remember doing something that odd at
one point