Allow creating either a new executable or library.