pothos: fixes from windows delay load work