fix line endings in libuv configure

rearrange pieces that should be arch independent