Index: gdata-sharp/Makefile
===================================================================
--- gdata-sharp.orig/Makefile	2012-06-01 00:50:40.470451408 +0800
+++ gdata-sharp/Makefile	2012-06-01 00:51:09.000000000 +0800
@@ -70,7 +70,7 @@
          $(wildcard src/unittests/core/*.cs)  $(wildcard src/unittests/picasa/*.cs)
 
 Google.GData.Client.dll: $(core_sources) src/core/clientkey.sn
-	$(CSC) $(DEFINES) -target:library -out:$@ $(core_sources) $(FRAMEWORK_REFS) -keyfile:src/core/clientkey.sn
+	$(CSC) $(DEFINES) -target:library -out:$@ $(core_sources) $(FRAMEWORK_REFS) -pkg:newtonsoft-json -keyfile:src/core/clientkey.sn
 
 Google.GData.Extensions.dll: Google.GData.Client.dll $(extension_sources) src/extensions/extensionkey.sn
 	$(CSC) $(DEFINES) -target:library -out:$@ -r:Google.GData.Client.dll $(extensions_sources) $(FRAMEWORK_REFS) -keyfile:src/extensions/extensionkey.sn
@@ -119,7 +119,7 @@
 	for i in $(PKGCONFIG_FILES) ; do rm "$(DESTDIR)$(PKGCONFIGDIR)/$$i" ; done
 
 tests: $(ALLLIBS)
-	$(CSC) $(DEFINES) -target:library -out:unittests.dll $(ALLREFS) -r:nunit.framework.dll $(test_sources)
+	$(CSC) $(DEFINES) -target:library -out:unittests.dll $(ALLREFS) -pkg:nunit $(test_sources)
 
 gapps_sample_sources = samples/appsforyourdomain/appsdemo.cs
 gapps_appsdemo.exe: $(ALLLIBS) $(gapps_sample_sources)
