Make require.locales raise exception on unsupported systems