adding check for cygwin platform and changing source path to windows path, to use windows cmake
avoiding problem where project was built in src_dir if build_dir could not be createdwq