Use "c++0x" not "c++11", for Debian

I really dislike old distros :(.
Remove "," at end of enum list

This fails on Debian, but I thought it was valid?