Fixed building for Haiku
Merge pull request #1 from tgkokk/haiku_compile_fix

Fixed building for Haiku