Fix most byte compilation warnings
Merge pull request #209 from gsg/master

Fix most byte compilation warnings