Added fixes for 'make dist' to work properly
Added fixes for 'make dist' to work properly

Change-Id: I2e81a04f07e6acf246d740e86ca2926f885c18b3
author: CaptTofu <a7ea3cc0d4c52db8543977e2dbc52a2e533a524f@patg.net>
Reviewed-on: http://review.northscale.com/1299
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>

membase/moxi,couchbase/moxi,steveyen/moxi,steveyen/moxi,membase/moxi,membase/moxi,membase/moxi,couchbase/moxi,zbase/moxi,membase/moxi,zbase/moxi,couchbase/moxi,zbase/moxi,steveyen/moxi,steveyen/moxi,zbase/moxi,couchbase/moxi,steveyen/moxi,zbase/moxi,couchbase/moxi,couchbase/moxi,membase/moxi