For 19c, consider using build argument SLIMMING and set it to false. The build script takes the option -o which can be used to set the build argument. Other versions will need to rely on removing all commands to remove components that are "not needed".