Fix windows build
The prototype for access is still required from unistd.h even though F_OK is not used anymore.