[releng] fix erlang compilation