Buck: upgrade to recent version

Change-Id: I304081cbbb1c457f2cd1cac5dd0c1ff4a75336ea
diff --git a/buckversion b/buckversion
index b23029a..7bcdf5e 100644
--- a/buckversion
+++ b/buckversion
@@ -1 +1 @@
-7608e515c2355d2e799f4b404683433fea9cc024
+f0759b0bfff1368bc715371c383dfd8c873f9991
diff --git a/gerrit_plugin.bucklet b/gerrit_plugin.bucklet
index 4d73d0d..7da239e 100644
--- a/gerrit_plugin.bucklet
+++ b/gerrit_plugin.bucklet
@@ -66,8 +66,16 @@
     type = 'plugin',
     visibility = ['PUBLIC']):
   from multiprocessing import cpu_count
-  from os import path
-  ROOT = get_base_path()
+  from os import path,getcwd
+  # TODO(davido): Remove this hack and replace all this mess with just
+  # ROOT = get_base_path()
+  # when this issue is fixed:
+  # https://github.com/facebook/buck/issues/200
+  # Or this PR is merged:
+  # https://github.com/facebook/buck/pull/201
+  ROOT = getcwd()
+  while not path.lexists(path.join(ROOT, '.buckconfig')):
+    ROOT = path.dirname(ROOT)
   if path.exists(path.join(ROOT, 'VERSION')):
     include_defs('//' + path.join(ROOT, 'VERSION'))
     mf_cmd = 'v=%s && ' % PLUGIN_VERSION