Some fixes to the C# Makefile