Fixed compilation on GCC

That was weird...forward declaration of classes seems to freak it out