fix to work with Latest gcc2 hynrid Haiku