Update Compiler.cs

Fixed a tiny, but major problem that was causing the model compiler to not use the correct physics model.