The former Ex-Lax factory on busy Atlantic Avenue in Brooklyn is one of the only loft buildings in brownstone-rich Boerum Hill.