support for --head install of opencv