fix linking problem w/ ni producer on MSVC