removed unnecessary comment from begining of files
moved trivial #ifdef _WIN32 from code into headers
defined also F_OK in header file