Enabled non-member function stub generation

This allows the generation of stubs for C/non-member C++ functions.