OS X build fixes

Changes in Rust 0.11-pre may have necessitated the attribute
modifications in common/lib.rs