At some point the build should use a rebar3-compatible Makefile to compile the C code: http://www.rebar3.org/docs/building-cc