Handle native nif compilation