Add support for more build types.