fix compilation for gcc 4.8