haiku: add platform support