fix non-linking of C libs in side modules
fix enlarging of merged function tables
handle function table updates with nested braces