gcc compilation fix.