Fix build in Haiku.