pwmc and g++ compilation fix.