Fix compatibility to gcc