Trex posts $15.3 million net loss