Hi Ruben,
I usually compile on linux using MonoDevelop. You may be able to also compile on Windows with VS 2005 and deploy on Linux. If you want to do that it would be best to use the Conditional compilation symbol MONO so that it build without WebnParts and also builds using some workarounds for Mono.
Right click the Web project and choose properties, on the Build tab enter MONO in the Conditional Compilation symbols box.
Joe