cmst: this works on x86

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>