added export
Fixed win32 exports
Fixed delayed perform on Win32.
Fixed exports for win32
Fixed build on win32
Fixed build of test target on win32.