Issue #35 - fix compile errors

https://github.com/couchbase/couchbase-lite-java-listener/issues/35