Restore packages on build.