Add missing forward declaration needed for older versions of GCC