Include <unistd.h> for isatty()

Currently get:

````
core.c: In function 'lua_isatty':
core.c:10:5: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration]
     lua_pushboolean(L, isatty(fileno(*fp)));
     ^
````