Revert "Fix build in Haiku."

This reverts commit 11a65ecd937e916c412d464a662d5ce68bfc7b36.