This reverts commit 34dbbb65fd. Instead, we can remove thos from HaikuBuildCompatibility and things will work fine, unless one try t build Haiku on BeOS (this isn't supported anymore) or a very old Haiku which esdon't have those.
34dbbb65fd