genrate nif.so by rebar rather than gcc