Not sure why this error popped up when I enabled C++11 on the codebase, but I guess this should fix it.