Merge _stub.o files into the main .o file (Fixes #3687 and #706)