a few more adjustments on the header for it to work on windows