Fixing some of the path issues which break the mono build.