Fixed enums being the wrong size.

See https://github.com/mozilla/rust/pull/9613.

Also fixed one example not compiling.