[shadow, c++] move generated headers, use c++0x instead of gnu++0x