fix gcc build.