make dlls build on windows