some fixes for erlang includes