libcameraservice: Fix build when not using C++11.