Add Erlang R17/17.0 support

WIP/Testing. No need for review yet. Please do not merge.
The pins are not required.