Build settings bodged to permit compilation on Profile 24