config: Add support for extra GCC configure options.
sb: Fix copy_tree coping links on Linux

Overwriting symlinks did not work on Linux. This change manages the
coping of links with special code. The copy worked on FreeBSD.