The union representing city building and housing inspectors is coming out swinging, claiming the deadly building collapse in Flatbush, Brooklyn last month could have been prevented and the Buildings Department is woefully understaffed.