Only #include dlfcn.h when host API is POSIX
Fix signed/unsigned MSC16 warnings
Fix compiler errors and warnings in Win32-specific abc::dynamic_module