Regression in IL2CPP or misconfiguration?

My project was building fine last time I tried with 5.4 and I didn’t make many changes in the code lately, mostly graphics.
Now I have upgraded to 2017.2 and it doesn’t build anymore.
I am using the ndk 13b x86-64.
@JoshPeterson do you know what is wrong here? Is it a bug?

Here is the full log:

I think it’s a bug of an asset, Anti cheat Toolkit.
He is using in the code the following snippet which only works on iOS:

Yes, it looks like that cause is the cause of the problem.