Attempt to fix issues with windows port init.