Fix stm platforms - enum namspaces