update: refactoring to use c++11

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>