Change forward declartion from struct to class for clang

The clang compiler (correctly) complains that a forward declaration
was not matching the actuall declaration.