fix gcc49 on R3.4