Fix most byte compilation warnings