Change link order so that libbb functions use libpwd.a when appropriate.