Remove a use of cTargetOS, in favour of platformOS