win32: Don't use dllexport/import when only building statically