Revert "move_setlibs"

This reverts commit 810068d1952b835ed55a005951e59f6f378abe8d.