Fall back to stdlib if lxml is unavailable