core: normalize typedef, rely on C++11 instead of boost when possible