configure: remove non-cross-compile compatible uses of uname