Implement c++11 functions that aren't supported on Android