add option to compile win32 dll