Fixed compilation erros in a few files
Merge pull request #1 from arnfred/compile-3.0

Fixed compilation erros in a few files