SuBSENSE porting: compiling errors fixed