Make AppID 32bit uint
Use c++0x when compiling with Clang