Fixed charstack and dodgegame so that things compile.

I don't know why these were broken. I don't think I ever pushed the latest commit from the original repository to github...
Changed the makefile to be OS X specific!