Allow compilation in R17A

Allow elixir to be compiled using R17A as well. Fixes #1854.