add "dynamic link all" option to sconstruct. needed for homebrew.

adapts some functionality previously used by nacl.