changed -std=gnu++11 to -std=gnu++0x