Fixes to allow glob to run under --use_strict