Fix some issues in building lxml tree
Fix some issues in building lxml tree

kevinlondon/grab,giserh/grab,huiyi1990/grab,raybuhr/grab,huiyi1990/grab,lorien/grab,istinspring/grab,shaunstanislaus/grab,subeax/grab,subeax/grab,lorien/grab,shaunstanislaus/grab,liorvh/grab,subeax/grab,istinspring/grab,codevlabs/grab,pombredanne/grab-1,alihalabyah/grab,giserh/grab,kevinlondon/grab,codevlabs/grab,alihalabyah/grab,DDShadoww/grab,maurobaraldi/grab,SpaceAppsXploration/grab,SpaceAppsXploration/grab,pombredanne/grab-1,DDShadoww/grab,raybuhr/grab,maurobaraldi/grab,liorvh/grab