US building permits ease late-Q2