Moved some #ifdef _WIN32 blocks.

They now enclose the functions where there is no non-Windows
implementation at all.
Removed obsolete report data path function.