Fix compilation on 4.00.1

4.01.0 is apparently happy with the string_of_scope function having
missing clauses in its match. 4.00.1 isn't.

Also updated the 'all' variable to actually have all of the possible
scopes.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>