Only use build_with_dlls on windows.