allow cxx flag to be full path to compiler

issue:  #1989