Changed std flag from 'c++11' to 'c++0x' to support Ubuntu 12.04