Fix build for Rust master. Also fixes an error in the Yacc parser when compiling with Clang.