Check if the project exports a nif function
Add documentation and defaults to the NIF compiler