Flaxby modular housing developer posts £41m loss