Update cmake to cope with opencv comp and remove unused include in ffmepg