Changed build stuff to -std=c++0x.