Fix rebar compile

It's a little hacky looking but rebar will refuse
to include the proper paths for include files
for things that aren't marked as dependencies.