Fix some Windows-related problems.

- Experimental fix for relative config paths.
- Fix an error relating to the unavailability of std::back_inserter.
- Fix two methods in hashcomp being exported twice.
- Remove some unimportant error messages.