Builders FirstSource posts $20 million loss