bugfix in sample to support LBP classifier. To merge to master also.