fix test for gcc 4.8.1+ so it will accept 5.0