VTK5: Added support for C++11 mode and some optional dependencies