Add a configuration flag for making binaries optional.
Add support for disabling generation of binaries.