Add support for disabling generation of executables.