We've actually been working on a more modern, cross-platform API in the last few weeks. You can check the progress here: https://github.com/ScholarMidnight/NWNX-Unified
We have a Docker container set up for compiling Arelith (but not running nwserver). Feel free to pull liareth/arelith:nwnx. Note that we compile with GCC 4.9 which /may/ break some stuff in the defaul ...