Make clang++ 3.4.2 work (partial)

clang 3.4.2 with option -std=c++11 produced some compile errors, this
commit aims to correct it. However, I could never compile FreeCAD with
clang, so there may be other errors undiscovered. This commit can be
compiled with g++ -std=c++11.