Fix dar build failure, add new options, and disable static

New options for docs, lzo, gcrypt, and upx.

The build uses the sed -r option, which is not available in the
system sed, but is, in gnu-sed. Specifically, this resolves
the error:

    /usr/bin/sed: illegal option -- r

Similarly, when --docs is enabled, the build uses the cp -d
option, which is not available in the system cp, but is, in
gnu cp, which is part of the coreutils Homebrew formula. In
particular, this avoids the error:

    ./portable_cp html /usr/local/Cellar/dar/2.4.13/share/dar
    cp: illegal option -- d

Add --disable-dar-static, as suggested by the output from
configure when static is not possible, in order to decrease
configure time.
WIP Fix Mavericks build.

As suggested by @mikemcquaid, ENV.libstdcxx gets it to build on
Mavericks. However, now I see the warning

    Warning: dar dependency gettext was built with a different C++
    standard library (libc++ from clang). This could cause problems
    at runtime.
dar: add 2.4.13 bottle.