Merge pull request #82 from benoitsan/master

Fixed deprecation warnings