dlsym RTLD_DEFAULT workaround
replace .so suffixes with .dll suffixes
first test case fixes