fix gcc warnings
Merge branch 'master' of github.com:quyse/oil
linux & gcc compilation fixes