add defines for building a subset of types