Windows build fixes
(MR !87 (merged) has full CI with MSVC build to show that these work)
commit 7b293e32:
Some build fixes to support compilation with MSVC on Windows
commit a98b6206:
Use FC_PATH_MAX to fix build on Windows
commit 93e65a85:
Fix build on Windows some more