move _lwp linkage in mkremote too