start fixes for opencv 3.0
more fixes for opencv 3.0