Issue #1: add -std=c++0x to compile flags