updated compile scripts to use c++0x instead of c++11