Add MacConsole solution and Change some csproj files to build on Mac.