C++11 compile

These changes were necessary to build slicer on Mac 10.9 mavericks with clang compiler with C++11 compiler conformance.