Seoul, Beijing try to mend fences as Russia and N. Korea gro