pass an underlying int type to the enum builder