Fixed compiling issue in CascadeCPP