fix compilation error, using forward declaration instead of include