Added `#[repr(C)]`

According to the [FFI guide](http://doc.rust-lang.org/guide-ffi.html#interoperability-with-foreign-code), structs are only guaranteed to be
compatible when annotated with `#[repr(C)]`.