Cleanup unused variables. This prevents mono 3.0+ on non-windows systems from erroring out during build.