[Mac] Fix the build

[chromium-style] virtual methods with non-empty bodies shouldn't be declared inline.
[chromium-style] Complex constructor has an inlined body.
[chromium-style] Complex class/struct needs an explicit out-of-line destructor.
[chromium-style] virtual methods with non-empty bodies shouldn't be declared inline.

http://www.chromium.org/developers/coding-style/chromium-style-checker-errors
Merge pull request #1022 from poussa/mac-compile-8

[Mac] Fix the build