Fix maSetPlatform for partial platform string