fix dlopen call on windows