Fix some compilation warnings
Added gist package