various attempts at fixing windows support for static_compile