add rebar config to correctly build nif and driver libs