move static dependencies to /sys (#2438)