Fixes enum syntax and handle_options

The rustc 0.13.0-nightly (e09d98603 2014-11-18 23:51:43 +0000) required the following changes:
 - Prefix references to enum value with enum type
 - use crate rustc_trans