Updated to not add the "tclStubsPtr" symbol unless we are compiling to memory