fixed problem with dlls not running on windows