Merge mac comple fixes in

Now people can actually compile Mudlet on a Mac! Build a working installer from scratch as well.