BlueLinx Holdings swings to loss