#636697 Add a common function to include library modules along with a shared library