Fix when pyexpat not built

Import pyexpat first so that import error occurs when it is not
available.
1 file changed