Managed to fix that problem (thanks to @dragic)
There were some problems with linking and build architecture (it was building for amd64 but we needed i386).
At the moment, module is running on one test server pretty well.
If anyone gets interested in this, you can take a look here:
https://github.com/ssone95/antiaim
I forked that module and updated files which needed to be fixed