[cs] Fix some enum-related problems, and fix spod SEnum creation