Move libcore to C++11.

Change-Id: I1942be8f7cef51265d53272f36a217e88bfede94