Fix gcc build.