add rebar.config for compiling c_library