fixed using CpvCExtern. compilation bug for new gcc 4.1.1