dropbox: adapt code to recent library changes