Fix implementation of outputFilePath.
Warning fixes in CPP compiler segment.
Force CPP compiler to use std=c++11.