Initial fixes to get it compiling.
Merge branch 'master' of https://github.com/HaikuArchives/Yab