Allow -i and -f on the same instance
Update build.sh to match latest opencv library naming scheme