Fix sdl autoconfig allow it to deal with shared libraries.

ok patrick@
On amd64 build the cross arm binutils package.

ok patrick@
libstdc++ isn't used on bitrig, use libc++ instead.

Not quite enough to get gtk3 flavor working but further.