tweaks to compile with different opencv version