Add Erlang R17/17.0 support

WIP/Testing. No need for review yet. Please do not merge.
Are these pins required for this patch?