Fixed undefined stubRequest symbol when header is used in an ObjC++ file

Just a simple fix.