Use `-z` switch for dropbox related environment variables

Replaces the `-n` switch (which only continues if the variable already exists) to check that the dropbox variables have been set.
Fix compile error: Remove dropbox token user prompts