Fixing build from github. Stop using submodules as I couldn't get them to work including the small changes that I had to make for mono.