Fixes a bug with uninitialized Lang::$config when looking for a default lang.

Lang::$config could be uninitialized when looking for the default lang. It is better to call Lang::config().