Followup to r50132: rename API define constant to MW_API, per comment on CR