Fix gcc build failure