Luckily space is already clean, the trick will be converting current production processes to work in microgravity - process heat offtake without convection etc. LEO or higher orbit based manufacturing will probably occur before 2050, once that is solved then deploying infrastructure onto the Martian surface will become relatively trivial.