Builders FirstSource posts $19 million loss