Fix build undeHaiku with gcc 2.95.3