Make compile for me! I'm on ubuntu 12.04 gcc4.7

Not sure why these errors weren't a problem for you