ncurses: Build with wide characters if supported by the toolchain
bar: Added package.
bar: Add a patch to return 1 when an error occurs.

This allows us to handle the case where the destination drive
does not have enough space left.