fixed compiling without opencv (disabled mosaicing)