Could use tr1 library for Xcode 4.6