Fix more dependency issues with mono in windows