making person detection compile on opencv 3.0