frameworks/native: Fork for aliasing and C++11 fixes.