Add config support for protobuffs

The current protobuffs config only copy "erl_opts" to
"compile_flags". Some other configs such as "imports_dir" are very
importent, too.