fix compiler errors

fix errors happening in rakefile strict compiler error settings.
Merge pull request #125 from iHiroakiKawai/meter

fix compiler errors