main.c: Fix warning

* access() is declared in unistd.h. Include the same.