fix: compilation errors from clang++-3.4