add forward declaration for compilation on OSX with g++ 4.8.0
Merge pull request #3 from xdbr/dev

add forward declaration for compilation on OSX with g++ 4.8.0