Help building the elm compiler on an Apple Silicon

Could it be related to this topic? Elm init tls issue
The error looks the same.