gcc compatibility fix.