camera wrapper fix, GCC 4.7